package com.isesol.ime.dao;

import com.isesol.ime.entity.*;
import com.isesol.orm.jpa.*;
import org.springframework.stereotype.Repository;

import java.util.*;

/**
 * 机床参数 DAO
 *
 * @author Peter Zhang
 */
@Repository
public interface ParamDao extends JpaDao<Param, Long>{

	List<Param> findByTypeId(long typeId);

	List<Param> findByCategoryId(long categoryId);

	List<Param> findByParamIdAndTypeId(String paramId,long typeId);

	List<Param> findByTypeIdAndCategoryId(long typeId , long categoryId);


}
